package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程ppt,视频学习记录对象 biz_course_material_learn_record
 * 
 * @author fmi110
 * @date 2021-11-15
 */
public class BizCourseMaterialLearnRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 课程内容ID */
    @Excel(name = "课程内容ID")
    private Long courseDetailId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 资料类型 */
    @Excel(name = "资料类型")
    private String materialType;

    /** 学习进度 */
    @Excel(name = "学习进度")
    private String progress;

    /** 是否学习完毕 */
    @Excel(name = "是否学习完毕")
    private Integer done;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseDetailId(Long courseDetailId) 
    {
        this.courseDetailId = courseDetailId;
    }

    public Long getCourseDetailId() 
    {
        return courseDetailId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMaterialType(String materialType) 
    {
        this.materialType = materialType;
    }

    public String getMaterialType() 
    {
        return materialType;
    }

    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }

    public Integer getDone() {
        return done;
    }

    public void setDone(Integer done) {
        this.done = done;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseDetailId", getCourseDetailId())
            .append("userId", getUserId())
            .append("materialType", getMaterialType())
            .append("progress", getProgress())
            .append("done", getDone())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
